package com.hys.enums;

/**
 * 展示层枚举类
 */
public enum ApprovalStatusVOEnum {
    NOT_PASSED(1, "未通过", "灰色"),
    PASSED(2, "已通过", "绿色"),
    REJECTED(0, "已拒绝", "红色");

    private final int code;
    private final String description;
    private final String color;

    ApprovalStatusVOEnum(int code, String description, String color) {
        this.code = code;
        this.description = description;
        this.color = color;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

    public String getColor() {
        return color;
    }
}
